#ifndef CLIENT_H
#define CLIENT_H

#include "common.h"

#define MAX_BUF 4096

#define ERROR_CHECK(ret,piont,msg){if(ret==piont){perror(msg);exit(1);}}

int connect_server(const char *ip,short int port);
int login(int sockFd);
int send_command(int sockfd, const char *cmd);


#endif